[INFO] cloning repository https://github.com/MubtasimMasud/bom_forge
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MubtasimMasud/bom_forge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMubtasimMasud%2Fbom_forge", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMubtasimMasud%2Fbom_forge'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5ed739a3e1ebf661957cd690c901d32a7d88f03e
[INFO] fixing MubtasimMasud/bom_forge against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMubtasimMasud%2Fbom_forge" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MubtasimMasud/bom_forge
[INFO] finished tweaking git repo https://github.com/MubtasimMasud/bom_forge
[INFO] tweaked toml for git repo https://github.com/MubtasimMasud/bom_forge written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MubtasimMasud/bom_forge on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MubtasimMasud/bom_forge already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0dafb5e5d975cd14e261c3253969e03089c96d24e795f83d6492b74edf14d089
[INFO] running `Command { std: "docker" "start" "0dafb5e5d975cd14e261c3253969e03089c96d24e795f83d6492b74edf14d089", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0dafb5e5d975cd14e261c3253969e03089c96d24e795f83d6492b74edf14d089" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0dafb5e5d975cd14e261c3253969e03089c96d24e795f83d6492b74edf14d089", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0dafb5e5d975cd14e261c3253969e03089c96d24e795f83d6492b74edf14d089" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking litemap v0.8.0
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]     Checking writeable v0.6.1
[INFO] [stderr]    Compiling cc v1.2.22
[INFO] [stderr]    Compiling icu_properties_data v2.0.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]     Checking hashbrown v0.15.3
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking openssl-probe v0.1.6
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]     Checking clap_builder v4.5.38
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking csv-core v0.1.12
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]     Checking rustls-pki-types v1.12.0
[INFO] [stderr]     Checking csv v1.3.1
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking tokio v1.45.0
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]    Compiling openssl-sys v0.9.108
[INFO] [stderr]     Checking clap v4.5.38
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking h2 v0.4.10
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.0
[INFO] [stderr]     Checking hyper-util v0.1.11
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.15
[INFO] [stderr]     Checking bom_forge v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Context` and `bail`
[INFO] [stdout]  --> src/parse.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::{Context, Result, anyhow, bail};
[INFO] [stdout]   |              ^^^^^^^                  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thiserror`
[INFO] [stdout]  --> src/parse.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use thiserror;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `bail`
[INFO] [stdout]  --> src/parse.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::{Context, Result, anyhow, bail};
[INFO] [stdout]   |              ^^^^^^^                  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thiserror`
[INFO] [stdout]  --> src/parse.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use thiserror;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/decode_passives.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let mut t = s.to_lowercase();
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `components::ComponentType`
[INFO] [stdout]    --> src/decode_passives.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |         assert_eq!(classify_component("4.7k"), ComponentType::Resistor(4_700));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         components::ComponentType
[INFO] [stdout]     |         components::ComponentType
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `components::ComponentType`
[INFO] [stdout]    --> src/components.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 | pub enum ComponentType {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `components::ComponentType` with `#[derive(PartialEq)]`
[INFO] [stdout]    --> src/components.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(PartialEq)]
[INFO] [stdout]   4 | pub enum ComponentType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `components::ComponentType` doesn't implement `Debug`
[INFO] [stdout]    --> src/decode_passives.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |         assert_eq!(classify_component("4.7k"), ComponentType::Resistor(4_700));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `components::ComponentType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider annotating `components::ComponentType` with `#[derive(Debug)]`
[INFO] [stdout]    --> src/components.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(Debug)]
[INFO] [stdout]   4 | pub enum ComponentType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `components::ComponentType` doesn't implement `Debug`
[INFO] [stdout]    --> src/decode_passives.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |         assert_eq!(classify_component("4.7k"), ComponentType::Resistor(4_700));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `components::ComponentType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider annotating `components::ComponentType` with `#[derive(Debug)]`
[INFO] [stdout]    --> src/components.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(Debug)]
[INFO] [stdout]   4 | pub enum ComponentType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `components::ComponentType`
[INFO] [stdout]    --> src/decode_passives.rs:155:9
[INFO] [stdout]     |
[INFO] [stdout] 155 |         assert_eq!(classify_component("120R"), ComponentType::Resistor(120));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         components::ComponentType
[INFO] [stdout]     |         components::ComponentType
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `components::ComponentType`
[INFO] [stdout]    --> src/components.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 | pub enum ComponentType {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `components::ComponentType` with `#[derive(PartialEq)]`
[INFO] [stdout]    --> src/components.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(PartialEq)]
[INFO] [stdout]   4 | pub enum ComponentType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `components::ComponentType` doesn't implement `Debug`
[INFO] [stdout]    --> src/decode_passives.rs:155:9
[INFO] [stdout]     |
[INFO] [stdout] 155 |         assert_eq!(classify_component("120R"), ComponentType::Resistor(120));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `components::ComponentType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider annotating `components::ComponentType` with `#[derive(Debug)]`
[INFO] [stdout]    --> src/components.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(Debug)]
[INFO] [stdout]   4 | pub enum ComponentType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `components::ComponentType` doesn't implement `Debug`
[INFO] [stdout]    --> src/decode_passives.rs:155:9
[INFO] [stdout]     |
[INFO] [stdout] 155 |         assert_eq!(classify_component("120R"), ComponentType::Resistor(120));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `components::ComponentType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider annotating `components::ComponentType` with `#[derive(Debug)]`
[INFO] [stdout]    --> src/components.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(Debug)]
[INFO] [stdout]   4 | pub enum ComponentType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `components::ComponentType`
[INFO] [stdout]    --> src/decode_passives.rs:156:9
[INFO] [stdout]     |
[INFO] [stdout] 156 | /         assert_eq!(
[INFO] [stdout] 157 | |             classify_component("  2M2  "),
[INFO] [stdout] 158 | |             ComponentType::Resistor(2_200_000)
[INFO] [stdout] 159 | |         );
[INFO] [stdout]     | |         ^
[INFO] [stdout]     | |         |
[INFO] [stdout]     | |_________components::ComponentType
[INFO] [stdout]     |           components::ComponentType
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `components::ComponentType`
[INFO] [stdout]    --> src/components.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 | pub enum ComponentType {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `components::ComponentType` with `#[derive(PartialEq)]`
[INFO] [stdout]    --> src/components.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(PartialEq)]
[INFO] [stdout]   4 | pub enum ComponentType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `components::ComponentType` doesn't implement `Debug`
[INFO] [stdout]    --> src/decode_passives.rs:156:9
[INFO] [stdout]     |
[INFO] [stdout] 156 | /         assert_eq!(
[INFO] [stdout] 157 | |             classify_component("  2M2  "),
[INFO] [stdout] 158 | |             ComponentType::Resistor(2_200_000)
[INFO] [stdout] 159 | |         );
[INFO] [stdout]     | |_________^ the trait `Debug` is not implemented for `components::ComponentType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider annotating `components::ComponentType` with `#[derive(Debug)]`
[INFO] [stdout]    --> src/components.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(Debug)]
[INFO] [stdout]   4 | pub enum ComponentType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `components::ComponentType` doesn't implement `Debug`
[INFO] [stdout]    --> src/decode_passives.rs:156:9
[INFO] [stdout]     |
[INFO] [stdout] 156 | /         assert_eq!(
[INFO] [stdout] 157 | |             classify_component("  2M2  "),
[INFO] [stdout] 158 | |             ComponentType::Resistor(2_200_000)
[INFO] [stdout] 159 | |         );
[INFO] [stdout]     | |_________^ the trait `Debug` is not implemented for `components::ComponentType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider annotating `components::ComponentType` with `#[derive(Debug)]`
[INFO] [stdout]    --> src/components.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(Debug)]
[INFO] [stdout]   4 | pub enum ComponentType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `components::ComponentType`
[INFO] [stdout]    --> src/decode_passives.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 |         assert_eq!(classify_component("4.7uF"), ComponentType::Capacitor(4_700));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         components::ComponentType
[INFO] [stdout]     |         components::ComponentType
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `components::ComponentType`
[INFO] [stdout]    --> src/components.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 | pub enum ComponentType {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `components::ComponentType` with `#[derive(PartialEq)]`
[INFO] [stdout]    --> src/components.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(PartialEq)]
[INFO] [stdout]   4 | pub enum ComponentType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `components::ComponentType` doesn't implement `Debug`
[INFO] [stdout]    --> src/decode_passives.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 |         assert_eq!(classify_component("4.7uF"), ComponentType::Capacitor(4_700));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `components::ComponentType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider annotating `components::ComponentType` with `#[derive(Debug)]`
[INFO] [stdout]    --> src/components.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(Debug)]
[INFO] [stdout]   4 | pub enum ComponentType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `components::ComponentType` doesn't implement `Debug`
[INFO] [stdout]    --> src/decode_passives.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 |         assert_eq!(classify_component("4.7uF"), ComponentType::Capacitor(4_700));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `components::ComponentType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider annotating `components::ComponentType` with `#[derive(Debug)]`
[INFO] [stdout]    --> src/components.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(Debug)]
[INFO] [stdout]   4 | pub enum ComponentType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `components::ComponentType`
[INFO] [stdout]    --> src/decode_passives.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |         assert_eq!(classify_component("100p"), ComponentType::Capacitor(100));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         components::ComponentType
[INFO] [stdout]     |         components::ComponentType
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `components::ComponentType`
[INFO] [stdout]    --> src/components.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 | pub enum ComponentType {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `components::ComponentType` with `#[derive(PartialEq)]`
[INFO] [stdout]    --> src/components.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(PartialEq)]
[INFO] [stdout]   4 | pub enum ComponentType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `components::ComponentType` doesn't implement `Debug`
[INFO] [stdout]    --> src/decode_passives.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |         assert_eq!(classify_component("100p"), ComponentType::Capacitor(100));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `components::ComponentType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider annotating `components::ComponentType` with `#[derive(Debug)]`
[INFO] [stdout]    --> src/components.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(Debug)]
[INFO] [stdout]   4 | pub enum ComponentType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `components::ComponentType` doesn't implement `Debug`
[INFO] [stdout]    --> src/decode_passives.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |         assert_eq!(classify_component("100p"), ComponentType::Capacitor(100));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `components::ComponentType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider annotating `components::ComponentType` with `#[derive(Debug)]`
[INFO] [stdout]    --> src/components.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(Debug)]
[INFO] [stdout]   4 | pub enum ComponentType {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut bom = PreprocessedBOM::from_csv(&bom_path)?;
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut cpl = CplData::from_csv(&cpl_path)?;
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bom`
[INFO] [stdout]   --> src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut bom = PreprocessedBOM::from_csv(&bom_path)?;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bom`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Component` is never constructed
[INFO] [stdout]  --> src/components.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Component {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BOM` is never constructed
[INFO] [stdout]   --> src/components.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct BOM {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `description`, `mpn`, and `designators` are never read
[INFO] [stdout]   --> src/parse.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct PreprocessedBOMEntry {
[INFO] [stdout]    |            -------------------- fields in this struct
[INFO] [stdout]  9 |     name: String,
[INFO] [stdout] 10 |     description: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 11 |     mpn: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 12 |     designators: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PreprocessedBOMEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `package` is never read
[INFO] [stdout]    --> src/parse.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub struct CplDataEntry {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 138 |     package: Option<String>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CplDataEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `collect` that must be used
[INFO] [stdout]   --> src/parse.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 | /         self.bom
[INFO] [stdout] 67 | |             .clone()
[INFO] [stdout] 68 | |             .into_iter()
[INFO] [stdout] 69 | |             .filter(|entry| {
[INFO] [stdout] ...  |
[INFO] [stdout] 76 | |             })
[INFO] [stdout] 77 | |             .collect::<Vec<PreprocessedBOMEntry>>();
[INFO] [stdout]    | |___________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let _ = self.bom
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/decode_passives.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let mut t = s.to_lowercase();
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut bom = PreprocessedBOM::from_csv(&bom_path)?;
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut cpl = CplData::from_csv(&cpl_path)?;
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bom`
[INFO] [stdout]   --> src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut bom = PreprocessedBOM::from_csv(&bom_path)?;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bom`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0369.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bom_forge` (bin "bom_forge" test) due to 15 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0dafb5e5d975cd14e261c3253969e03089c96d24e795f83d6492b74edf14d089", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0dafb5e5d975cd14e261c3253969e03089c96d24e795f83d6492b74edf14d089", kill_on_drop: false }`
[INFO] [stdout] 0dafb5e5d975cd14e261c3253969e03089c96d24e795f83d6492b74edf14d089
